package com.itheima.stock;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.itheima.stock.mapper")//扫描mapper接口，生成代理对象，并被ioc容器管理
public class StockApp {

    public static void main(String[] args) {
        System.out.println("*******************项目开始启动*******************");
        SpringApplication.run(StockApp.class, args);
        System.out.println("*******************项目启动成功*******************");
    }
}
